package com.wp.entity;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author: WangPeng
 * @createTime: 2022/11/15 14:13
 * @description:
 * @version: v1.0
 */
@Data
@Component
@ConfigurationProperties(prefix = "student")
public class Student {
    private String name;
    private String address;
    private String sex;
    private int age;
}
